name: tests190 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin:/opt/pyenv/bin:/tmp/venv-2tGV/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 3204275679 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 env TOX_ENV_NAME: tests190 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karafoc.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karafoc env USE_SIMS: lighty env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190 env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7564 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests190/bin/*:launch_tests.sh cmd: ./launch_tests.sh oc exit_code: 1 using environment variables from ./karafoc.env pytest -q transportpce_tests/oc/test01_portmapping.py .......... [100%] 10 passed in 78.94s (0:01:18) pytest -q transportpce_tests/oc/test02_topology.py .............. [100%] 14 passed in 247.39s (0:04:07) pytest -q transportpce_tests/oc/test03_renderer.py ................... [100%] 19 passed in 74.78s (0:01:14) pytest -q transportpce_tests/oc/test04_end2end.py .................FF.FFF....... [100%] =================================== FAILURES =================================== _________ TestTransportPCEEndtoend4Nodes.test_18_check_optical_channel _________ self = def test_18_check_optical_channel(self): nodes = ["OC-MPDRA", "OC-MPDRC"] for node in nodes: response = test_utils_oc.check_node_attribute2_request(node, "component", "cfp2-opt-1-1", "openconfig-terminal-device:optical-channel") self.assertEqual(response['status_code'], requests.codes.ok) optchannel = response['openconfig-terminal-device:optical-channel'] expected_optchannel = {'frequency': '196100000', 'operational-mode': 4308, 'target-output-power': '0.0' } self.assertDictEqual( dict(expected_optchannel, **optchannel['config']), optchannel['config']) for key, value in expected_optchannel.items(): self.assertIn(key, optchannel['state']) > self.assertEqual(optchannel['state'][key], value) E AssertionError: '192499999' != '196100000' E - 192499999 E + 196100000 transportpce_tests/oc/test04_end2end.py:312: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_optical_channel _________ TestTransportPCEEndtoend4Nodes.test_19_get_och_otu4_service __________ self = def test_19_get_och_otu4_service(self): response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-OCH-OTU4") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual( response['services'][0]['administrative-state'], 'inService') E AssertionError: 'outOfService' != 'inService' E - outOfService E + inService transportpce_tests/oc/test04_end2end.py:318: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_19_get_och_otu4_service ______ TestTransportPCEEndtoend4Nodes.test_21_get_openconfig_100g_service ______ self = def test_21_get_openconfig_100g_service(self): response = test_utils.get_ordm_serv_list_attr_request( "services", "service1-OC-100G") > self.assertEqual(response['status_code'], requests.codes.ok) E AssertionError: 409 != 200 transportpce_tests/oc/test04_end2end.py:346: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_21_get_openconfig_100g_service ____ TestTransportPCEEndtoend4Nodes.test_22_check_optical_channel_oc_mpdra _____ self = def test_22_check_optical_channel_oc_mpdra(self): nodes = ["OC-MPDRA", "OC-MPDRC"] for node in nodes: response = test_utils_oc.check_node_attribute2_request(node, "component", "cfp2-opt-1-1", "openconfig-terminal-device:optical-channel") self.assertEqual(response['status_code'], requests.codes.ok) optchannel = response['openconfig-terminal-device:optical-channel'] expected_optchannel = {'frequency': '196100000', 'operational-mode': 4308 } self.assertDictEqual( dict(expected_optchannel, **optchannel['config']), optchannel['config']) for key, value in expected_optchannel.items(): self.assertIn(key, optchannel['state']) > self.assertEqual(optchannel['state'][key], value) E AssertionError: '192499999' != '196100000' E - 192499999 E + 196100000 transportpce_tests/oc/test04_end2end.py:370: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_22_check_optical_channel_oc_mpdra _ TestTransportPCEEndtoend4Nodes.test_23_service_path_create_network_check_optical_port_oc_mpdra _ self = def test_23_service_path_create_network_check_optical_port_oc_mpdra(self): # Test optical port on both OC nodes nodes = ["OC-MPDRA", "OC-MPDRC"] for node in nodes: response = test_utils_oc.check_node_attribute3_request(node, "component", "line-cfp2-1", "port", "openconfig-transport-line-common:optical-port") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertEqual(response['port']['config']['admin-state'], 'ENABLED') E AssertionError: 'DISABLED' != 'ENABLED' E - DISABLED E + ENABLED transportpce_tests/oc/test04_end2end.py:379: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_23_service_path_create_network_check_optical_port_oc_mpdra =========================== short test summary info ============================ FAILED transportpce_tests/oc/test04_end2end.py::TestTransportPCEEndtoend4Nodes::test_18_check_optical_channel FAILED transportpce_tests/oc/test04_end2end.py::TestTransportPCEEndtoend4Nodes::test_19_get_och_otu4_service FAILED transportpce_tests/oc/test04_end2end.py::TestTransportPCEEndtoend4Nodes::test_21_get_openconfig_100g_service FAILED transportpce_tests/oc/test04_end2end.py::TestTransportPCEEndtoend4Nodes::test_22_check_optical_channel_oc_mpdra FAILED transportpce_tests/oc/test04_end2end.py::TestTransportPCEEndtoend4Nodes::test_23_service_path_create_network_check_optical_port_oc_mpdra 5 failed, 25 passed in 189.17s (0:03:09)